//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package test.StringPractise;

import java.util.Scanner;

public class StringPractiseTow {
    public StringPractiseTow() {
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.nextLine();
        char[] chars = str.toCharArray();

        for(char aChar : chars) {
            System.out.println(aChar);
        }

        System.out.println("=========================");

        for(int i = 0; i < str.length(); ++i) {
            System.out.println(str.charAt(i));
        }

        int countLetter = 0;
        int countSpace = 0;
        int countNumber = 0;

        for(int i = 0; i < str.length(); ++i) {
            if (str.charAt(i) >= 'a' && str.charAt(i) <= 'z') {
                ++countSpace;
            } else if (str.charAt(i) >= 'A' && str.charAt(i) <= 'Z') {
                ++countLetter;
            } else if (str.charAt(i) >= '0' && str.charAt(i) <= '9') {
                ++countNumber;
            }
        }

        System.out.println("大写字母有：" + countSpace + ";小写字母有：" + countLetter + "数字符号有：" + countNumber);
        int[] arr = new int[]{1, 2, 3};
        str = "[";

        for(int i = 0; i < arr.length; ++i) {
            if (i == arr.length - 1) {
                str = str + arr[i] + "]";
            } else {
                str = str + arr[i] + ",";
            }
        }

        System.out.println(str);
    }
}
